package com.xbs.entity;

import java.sql.Date;

/**
 * 内容表
 * @author dell
 */
public class CompanyNewsEntity {
	/**
	 * 内容编号
	 */
	private Integer newsid;
	/**
	 * 内容发布人
	 */
	private String newsperson;
	/**
	 * 内容信息
	 */
	private String newscontent;
	/**
	 * 内容发布时间
	 */
	private Date newstime;
	/**
	 * 内容发布主题
	 */
	private String newstheme;
	/**
	 * 内容标题
	 */
	private String newstitle;
	/**
	 * 内容图片
	 */
	private String newsurl;
	
	/**
	 * 有参数构造
	 * @param newsid
	 * @param newsperson
	 * @param newscontent
	 * @param newstime
	 * @param newstheme
	 * @param newstitle
	 * @param newsurl
	 */
	public CompanyNewsEntity(String newsperson, String newscontent, Date newstime, String newstheme,
			String newstitle, String newsurl) {
		super();
		this.newsperson = newsperson;
		this.newscontent = newscontent;
		this.newstime = newstime;
		this.newstheme = newstheme;
		this.newstitle = newstitle;
		this.newsurl = newsurl;
	}
	/**
	 * 无参构造
	 */
	public CompanyNewsEntity() {
		super();
	}
	

	/**
	 * get和set方法
	 * @Title:方法名： getNewsid 
	 * @Description:此方法作用： TODO 
	 * @param 参数: @return    
	 * @return 返回类型 ：Integer    
	 * @throws
	 */
	public Integer getNewsid() {
		return newsid;
	}
	public void setNewsid(Integer newsid) {
		this.newsid = newsid;
	}
	public String getNewsperson() {
		return newsperson;
	}
	public void setNewsperson(String newsperson) {
		this.newsperson = newsperson;
	}
	public String getNewscontent() {
		return newscontent;
	}
	public void setNewscontent(String newscontent) {
		this.newscontent = newscontent;
	}
	public Date getNewstime() {
		return newstime;
	}
	public void setNewstime(Date newstime) {
		this.newstime = newstime;
	}
	public String getNewstheme() {
		return newstheme;
	}
	public void setNewstheme(String newstheme) {
		this.newstheme = newstheme;
	}
	public String getNewstitle() {
		return newstitle;
	}
	public void setNewstitle(String newstitle) {
		this.newstitle = newstitle;
	}
	public String getNewsurl() {
		return newsurl;
	}
	public void setNewsurl(String newsurl) {
		this.newsurl = newsurl;
	}
	
	
	
	
	
}
